package com.hzsai.kafka;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * @author: hzsai
 * @date : 2020/3/30/ 0:13
 **/
@Data
@ConfigurationProperties("spring.kafka.topic")
public class KafkaTopicProperties implements Serializable {

    private String groupName;

    private String[] topicName;
}
